<?php
	/**
	 * @package AmpleHarvest
	 */
	namespace ampleharvest\code\usermanager\tables;

	use\ampleharvest\code;

	require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/config/cConfig.php';

	$config = new \ampleharvest\code\cConfig();
	require_once $config->C_STR_USER_MANAGER_PATH . "/Classes/cTABLE_Applications.php";
	
	/**
	 * @brief Adds new actions to the Actions Table in the User Manager database
	 *
	 * - Revision History
	 *  - 0.1
	 * 	 - <b>Date</b>: 24 MAR 2011
	 * 	 - <b>Author</b>: Randy Blancett
	 * 	  - Initial Version
	 *
	 * @author Randy Blancett
	 * @version 0.1
	 * @ingroup code classes table  user_manager
	 */
	class cTABLE_Applications extends \cTABLE_Applications
	{
		const C_STR_APPLICATION_AMPLE_HARVEST = "F3561A4C-0C23-4317-8213-FD71C2B2DCFF";
		/**
		 * Inserts default information into the table
		 * Adds the AmpleHarvest as an Application
		 */
		public function insert_DefaultData()
		{
			$this->set_ID(self::C_STR_APPLICATION_AMPLE_HARVEST);
			$this->set_Name("AmpleHarvest");
			$this->set_Comment("Application for Gathering and Enriching Internet Data.");

			$this->save_Data2DB();
			return true;
		}
	}
?>
